package com.alibaba.dubbo.dynamic.model;

import java.util.List;

/**
 * Created on 2016/8/14 07:29.
 * 
 * id 	INTEGER 	10 	
 * beanId 	VARCHAR 	32 	
 * protocol 	VARCHAR 	32 	
 * interfaceName 	VARCHAR 	128 	
 * serviceName 	VARCHAR 	128 	
 * groupName 	VARCHAR 	32 	
 * version 	VARCHAR 	10 	
 * timeout 	INTEGER 	10 	
 * filter 	VARCHAR 	128 	
 * renewClassLoader 	INTEGER 	10 	
 * status 	INTEGER 	10 	
 */

public class Dynamic extends BaseModel<Dynamic> {
    private static final long serialVersionUID = 3930157399853594164L;

    private Integer id;

    private String beanId;

    private String protocol;

    private String interfaceName;

    private String serviceName;

    private String groupName;

    private String version;

    private Integer timeout;

    private String filter;

    private Integer renewClassLoader;

    private Integer status;

    private List<Jar> jars;

    public Integer getId() {
        return id;
    }

    public Dynamic setId(Integer id) {
        this.id = id;
		return this;
    }

    public String getBeanId() {
        return beanId;
    }

    public Dynamic setBeanId(String beanId) {
        this.beanId = beanId == null ? null : beanId.trim();
		return this;
    }

    public String getProtocol() {
        return protocol;
    }

    public Dynamic setProtocol(String protocol) {
        this.protocol = protocol == null ? null : protocol.trim();
		return this;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public Dynamic setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName == null ? null : interfaceName.trim();
		return this;
    }

    public String getServiceName() {
        return serviceName;
    }

    public Dynamic setServiceName(String serviceName) {
        this.serviceName = serviceName == null ? null : serviceName.trim();
		return this;
    }

    public String getGroupName() {
        return groupName;
    }

    public Dynamic setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
		return this;
    }

    public String getVersion() {
        return version;
    }

    public Dynamic setVersion(String version) {
        this.version = version == null ? null : version.trim();
		return this;
    }

    public Integer getTimeout() {
        return timeout;
    }

    public Dynamic setTimeout(Integer timeout) {
        this.timeout = timeout;
		return this;
    }

    public String getFilter() {
        return filter;
    }

    public Dynamic setFilter(String filter) {
        this.filter = filter == null ? null : filter.trim();
		return this;
    }

    public Integer getRenewClassLoader() {
        return renewClassLoader;
    }

    public Dynamic setRenewClassLoader(Integer renewClassLoader) {
        this.renewClassLoader = renewClassLoader;
		return this;
    }

    public Integer getStatus() {
        return status;
    }

    public Dynamic setStatus(Integer status) {
        this.status = status;
		return this;
    }

    public List<Jar> getJars() {
        return jars;
    }

    public void setJars(List<Jar> jars) {
        this.jars = jars;
    }
}
